package com.crazyhat.crazyhat.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "my-config.club-popularity")
public class ClubPopularityConfig {

    private Weights weights;

    public static class Weights {
        private double footprints;
        private double activities;
        private double posts;
        private double comments;
        private double applications;

        public double getFootprints() {
            return footprints;
        }

        public void setFootprints(double footprints) {
            this.footprints = footprints;
        }

        public double getActivities() {
            return activities;
        }

        public void setActivities(double activities) {
            this.activities = activities;
        }

        public double getPosts() {
            return posts;
        }

        public void setPosts(double posts) {
            this.posts = posts;
        }

        public double getComments() {
            return comments;
        }

        public void setComments(double comments) {
            this.comments = comments;
        }

        public double getApplications() {
            return applications;
        }

        public void setApplications(double applications) {
            this.applications = applications;
        }
    }

    public Weights getWeights() {
        return weights;
    }

    public void setWeights(Weights weights) {
        this.weights = weights;
    }
}
